package com.swpu.service_xueya.service;

import com.swpu.service_xueya.entity.XuetangRecord;
import com.swpu.service_xueya.entity.XueyaRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.swpu.service_xueya.entity.vo.XueyaChartData;
import com.swpu.service_xueya.entity.vo.XueyaRecordListVo;
import com.swpu.service_xueya.entity.vo.XueyaRecordVo2;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chaichai
 * @since 2024-04-17
 */
public interface XueyaRecordService extends IService<XueyaRecord> {

    String addXueyaData(String openid, XueyaRecord xueyaRecord);

    XueyaRecord getXueyaDataById(String recordId);

    XueyaChartData getChartData(String userId);

    List<XueyaRecordListVo> getXueyaDataList(String openid, Integer pageNum, Integer pageSize);

    Map getRecentMonthXueyaStatus(String openid);

    XueyaRecord getXueyaDataNewest(String openid);


}
